#ifndef QUADRIQUE_H
#define QUADRIQUE_H

#include "Objet.h"
#include "Point.h"
#include "Rayon.h"

//ax2 + by2+ cz2+2dyz+2exz+2fxy+gx+hy+iz+j = 0
class Quadrique : public Objet {

private:
	float a, b, c, d, e, f, g, h, i, j; 
	Point centre;

public:

	Quadrique();
	Quadrique(float aa, float bb, float cc, float dd, float ee, float ff, float gg, float hh, float ii, float jj, Point centre1);
	~Quadrique();

	virtual bool intersection(Rayon r);
	virtual BoiteEnglobante getBoite();
	bool aBoite();

};
#endif